.class Lcom/example/m6shop/IndexActivity$3;
.super Ljava/lang/Object;
.source "IndexActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/IndexActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/IndexActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/IndexActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    .line 99
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 101
    invoke-static {}, Lmyclass/Util;->isFastDoubleClick()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 122
    :goto_0
    return-void

    .line 105
    :cond_0
    iget-object v3, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    const-string v4, "userInfo"

    .line 106
    const/4 v5, 0x0

    .line 105
    invoke-virtual {v3, v4, v5}, Lcom/example/m6shop/IndexActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 110
    .local v1, "preferences":Landroid/content/SharedPreferences;
    const-string v3, "shoptype"

    const-string v4, ""

    invoke-interface {v1, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 111
    .local v2, "shoptype":Ljava/lang/String;
    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 113
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 114
    .local v0, "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    iget-object v3, v3, Lcom/example/m6shop/IndexActivity;->mcontext:Landroid/content/Context;

    const-class v4, Lcom/example/m6shop/MarketFtypeActivity;

    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 115
    iget-object v3, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    invoke-virtual {v3, v0}, Lcom/example/m6shop/IndexActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 118
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 119
    .restart local v0    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    iget-object v3, v3, Lcom/example/m6shop/IndexActivity;->mcontext:Landroid/content/Context;

    const-class v4, Lcom/example/m6shop/WaimaiTypeActivity;

    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 120
    iget-object v3, p0, Lcom/example/m6shop/IndexActivity$3;->this$0:Lcom/example/m6shop/IndexActivity;

    invoke-virtual {v3, v0}, Lcom/example/m6shop/IndexActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method
